<template>
	<view class="item mb50">
		<view class="vrow flex-items-center">
			  <image :src="item.image"  class="li-img"  />
			    <text class="f34 blod">{{item.name}}</text>
		</view>
		<view class="flex flex-items-center">
			 <text class="f34">x{{item.selected}}</text>
			 <view class="price ">
				<text class="f40 bloder">¥{{item.price}}</text>
			 </view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			item: {
				type: Object,
				default () {
					return {}
				}
			}
		},
		data () {
			return {
			}
		}
	}
</script>

<style lang="scss" scoped>
	.item {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		.li-img {
			width: 80rpx;
			height: 80rpx;
			border-radius: 10rpx;
			margin-right: 30rpx;
		}
		.price {
			width: 160rpx;
			text-align: right;
		}
	}
</style>